import { Component, Input } from '@angular/core';
import { Currency } from 'src/app/@core/data/customer';
@Component({
  selector: 'app-edit-currency',
  templateUrl: './edit-currency.component.html',
  styleUrls: ['./edit-currency.component.scss']
})
export class EditCurrencyComponent {
  @Input() data:any;
  form:Currency ={
    currencyId: 0,
    currencyNum: '',
    currencyName: '',
    currencySymbol: '',
    isDisplaySymbol: false,
    isDefault: false,
    isEnable: true,
    description: ''
  }
  constructor() {
   }
  ngOnInit(): void {
    this.form = this.data.data
  }
}
